home *** CD-ROM | disk | FTP | other *** search
- Path: wintermute.ecs.fullerton.edu!titan!grosin
- From: grosin@titan (Gil Rosin)
- Newsgroups: comp.lang.c++
- Subject: Linking C++ with ASM Class members -- HOW??
- Date: 16 Apr 1996 00:44:58 GMT
- Organization: California State University at Fullerton
- Message-ID: <4kuqia$2ej@wintermute.ecs.fullerton.edu>
- NNTP-Posting-Host: titan.ecs.fullerton.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- I'm writing an app using Borland C++ v3.1 and TASM, one of my classes which
- will hold graphics primatives has several member functions (all the graphics
- primatives) written in Assembler. Now take the following class for example:
-
- class Test
- {
- void Function(int, int);
- };
-
- now, if I want to have that function in assembler, the assembly code has
- to be:
-
- proc @Test@Function$qii far
- .
- .
- .
- endp @Test@Function$qii
-
- ok, so no problem. I understand the first part, but the $ stuff has me
- stumped. Does anyone have a table of the format of different parameters? I
- know the parameter list starts with $q all the time and I know some of the
- following sequences:
-
- int = i
- unsigned short = us
- char = zc
- char * = nzc
-
- actually, I'm not to sure about the last two off the top of my head, if anyone
- has a table with the formats of these things please post it. Otherwise the
- only way I have been able to do it is to produce ASM output with the
- param list I want and look in there, but it gets to be a pain if you want
- a lot of functions. Thanks.
-
- please reply via email to grosin@titan.fullerton.edu
-
- .
-
- char
-